/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.search.strategy.social;

import net.groupme.search.strategy.model.RankingPreferences;
import net.groupme.search.strategy.social.SocialPageRank.SPRPreference;

/**
 * created on May 29, 2008
 * 
 * This class/interface...
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.1 $ $Date: 2008-05-30 01:19:37 $
 */
public class PersonalizedSPRRankingPreferences implements RankingPreferences {


	private SPRPreference sprPreferences = null;
	
	private String tagOfInterest = null;

	/**
	 * Creates a new SocialPageRankRankingStrategy instance.
	 * @param sprPreferences 
	 */
	public PersonalizedSPRRankingPreferences(SPRPreference sprPreferences, String tagOfInterest) {
		super();
		this.sprPreferences = sprPreferences;
		this.tagOfInterest = tagOfInterest;
	}

	/**
	 * This method returns the sprPreferences of a SocialPageRankRankingStrategy object.
	 * @return the sprPreferences
	 */
	public SPRPreference getSprPreferences() {
		return sprPreferences;
	}

	/**
	 * This method sets the sprPreferences of a SocialPageRankRankingStrategy object.
	 * @param sprPreferences the sprPreferences to set
	 */
	public void setSprPreferences(SPRPreference sprPreferences) {
		this.sprPreferences = sprPreferences;
	}

	

	/**
	 * This method returns the tagOfInterest of a SPR_SSR_RankingStrategy object.
	 * @return the tagOfInterest
	 */
	public String getTagOfInterest() {
		return tagOfInterest;
	}

	/**
	 * This method sets the tagOfInterest of a SPR_SSR_RankingStrategy object.
	 * @param tagOfInterest the tagOfInterest to set
	 */
	public void setTagOfInterest(String tagOfInterest) {
		this.tagOfInterest = tagOfInterest;
	}
}
